package com.jz.main.io.adapter;

public class Test {
    public static void main(String[] args) {
        Painter painter = new StraightPainter();
        painter.draw();

        CurvePainter curvePainter = new CurvePainterAdapter(painter);

        curvePainter.speciDraw();

    }
}
